package com.njworkorder.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class AssignmentDetailsVo {

    private String id;

    @Schema(description = "病害模块")
    private String diseaseModule;

    @Schema(description = "巡查信息")
    private String inspectionInfo;

    @Schema(description = "养护单位id（组织id）")
    private String maintenanceUnitId;

    @Schema(description = "任务单号")
    private String taskOrderNumber;

    @Schema(description = "预估结束日期")
    private Date estimatedEndDate;

    @Schema(description = "施工负责人")
    private String constructionManagerId;

    @Schema(description = "派单日期")
    private Date dispatchDate;

    @Schema(description = "派单人")
    private String dispatchPersonId;

    @Schema(description = "审核单位id（组织id）")
    private String auditUnitId;

    @Schema(description = "审核人")
    private String reviewerId;

    @Schema(description = "审核状态，0未审核，1已审核，2审核不通过")
    private Integer auditStatus;

    @Schema(description = "审核说明")
    private String auditInstructions;

    @Schema(description = "维修完成时间")
    private Date repairCompletionTime;

    @Schema(description = "意见（维修）")
    private String repairOpinion;

    @Schema(description = "审核时间（初审）")
    private Date initialReviewTime;

    @Schema(description = "意见（初审）")
    private String initialReviewOpinion;

    @Schema(description = "审核时间（终审）")
    private Date finalJudgmentTime;

    @Schema(description = "意见（终审）")
    private String finalJudgmentOpinion;

    @Schema(description = "路段名称")
    private String sectionName;

    @Schema(description = "工区名称")
    private String workspaceName;

    @Schema(description = "病害登记id")
    private List<String> diseaseRegistrationIds;

    @Schema(description = "病害登记名称")
    private List<String> diseaseRegistrationNames;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "附件地址")
    private String appendixes;

    @Schema(description = "数据状态")
    private String status;

    @Schema(description = "创建时间")
    private Date publishTime;
}
